const { log } = require('debug');
const express = require('express');

class middleWare{
    //处理404
    not_found_middle(req,res,next){
        res.status = 404
        res.send({msg:'接口不存在'},404)
        next()
    }

}

module.exports = new middleWare()